<%=
	tmp = ""
	if(@model.nil? || @model.clients.nil?)
		return ""
	end
	@model.clients.each() do |key, val|
		if(!session['client'].nil? && session['client'].name == key)
			tmp += "<option name=\"clients[]\" 
					value=\"#{key}\"
					selected=\"selected\">
					#{key}</option>"
		else 
			tmp += "<option name=\"clients[]\" 
					value=\"#{key}\">
					#{key}</option>"
		end
	end
	tmp
%>

